﻿using Dispatcher.Core.Models;
using MiniFox.Infrastructure;
using MiniFox.Resources;
using System;
using System.ComponentModel.DataAnnotations;

namespace Dispatcher.Core.DingTalk.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class DingTalkUpdateRequest : SendRequest
    {
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "发消息agent", ShortName = "发消息agent")]
        [Required(ErrorMessageResourceType = typeof(CommonMessages), ErrorMessageResourceName = "MSG_CommonRequired")]
        public string AccountName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "任务ID", ShortName = "任务ID")]
        public string TaskId { get; set; }

        [Display(Name = "状态描述", ShortName = "状态描述")]
        public string StatusDescription { get; set; }

        [Display(Name = "状态描述字体颜色", ShortName = "状态描述字体颜色")]
        public string StatusColor { get; set; }
    }
}
